package com.lanou.service.impl;

import com.lanou.bean.StudentBean;
import com.lanou.mapper.StudentMapper;
import com.lanou.service.StuService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created by dllo on 18/2/9.
 */
@Service
public class StuServiceImpl implements StuService {
    @Resource
    private StudentMapper studentMapper;
    public List<StudentBean> findAllStu() {
        return studentMapper.findStudent();
    }
}
